<div class="widget grid12">
    <div class="whead"><h6>FORMULARIO DE EDICION ORDEN DE COMPRA</h6><div class="clear"></div></div>
    <?php echo $this->Form->create('DocumentosOrdene', array('action'=>'editar', 'id' => "validate")); ?>    
    
     <div class="formRow">
        <div class="grid3"><label>Documento :<span class="req">*</span></label></div>
        <div class="grid9">
            <?php echo $this->Form->input('id', array('type'=>'hidden')); ?>
            <?php //echo $this->Form->hidden('ordene_id', array('value'=>$orden)); ?>
            <?php echo $this->Form->select('DocumentosOrdene.documento_id', $dcd, array("class")); ?>
        </div>
        <div class="clear"></div>
    </div> 
    
    <div class="formRow">
        <div class="grid3"><label>Original :</label></div>
        <div class="grid3">            
            <?php echo $this->Form->checkbox("DocumentosOrdene.original", array('value' => '1', 'hiddenField' => '0')); ?>
            OjO (si corresponde seleccionar caso contrario dejarlo vacio)
        </div>       
        <div class="clear"></div>
    </div>
    
    <div class="formRow">
        <div class="grid3"><label>Volumen:<span class="req">*</span></label></div>
        <div class="grid9">
            <?php echo $this->Form->text('DocumentosOrdene.volumen', array('placeholder' => 'Ingrese la Orden Ej: CA-009', "class" => "validate[required]")); ?>
        </div>
        <div class="clear"></div>
    </div>
    
</div>

    <div class="formRow">
        <?php
        $options = array(
            'label' => 'Editar Datos',
            'class' => 'buttonS bGreen',
            'id' => 'btEnvia'
        );
        echo $this->Form->end($options);
        ?> 
        <div class="clear"></div> 
        <div class="actions-right">
            <?php echo $this->Html->link("Volver &raquo;", array('controller'=>'Ordenes', 'action'=>'index'), array('class'=>'buttonS bLightBlue', 'escape' => FALSE)); ?>
            </div>
               
    </div>
        